package com.lb.uts.entity;

/**
 * 缓存的客户端信息
 * <p>
 * 使用阈值判断执行器是否存活
 * </p>
 *
 * @Author liangb
 * @Date 2019/4/28 11:56
 */
public class CacheClient extends ActiveClientInfo {

    /**
     * 总共失败次数
     */
    private long totalFailCount;

    /**
     * 目前失败次数
     */
    private int failCount;

    public long getTotalFailCount() {
        return totalFailCount;
    }

    public void setTotalFailCount(long totalFailCount) {
        this.totalFailCount = totalFailCount;
    }

    public int getFailCount() {
        return failCount;
    }

    public void setFailCount(int failCount) {
        this.failCount = failCount;
    }
}
